<template>
	<view class="all">
		<view class="card">
			<image src="/static/index/veer.jpg" class="card-image"></image>
			<view class="card-content">
				<text class="card-text">北京四日追花拍摄秘籍-故宫</text>
				<text class="card-arrow" @click="more">详情 ></text>
			</view>
		</view>
		<view class="card">
			<image src="/static/index/veer.jpg" class="card-image"></image>
			<view class="card-content">
				<text class="card-text">北京四日追花拍摄秘籍-故宫</text>
				<text class="card-arrow" @click="more">详情 ></text>
			</view>
		</view>
		<view class="card">
			<image src="/static/index/veer.jpg" class="card-image"></image>
			<view class="card-content">
				<text class="card-text">北京四日追花拍摄秘籍-故宫</text>
				<text class="card-arrow" @click="more">详情 ></text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			more(){
				uni.navigateTo({
					url: '/pages/index/preferentialDetails/preferentialDetails'
				})
			}
		}
	}
</script>

<style>
	.all{
		padding: 10px;
	}
	.card {
		background: #fff;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}

	.card-image {
		width: 100%;
		height: 150px;
		margin-bottom: 10px;
	}

	.card-content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}

	.card-text {
		color: #333;
		flex: 1;
		margin-bottom: 3px;
	}

	.card-arrow {
		color: blue;
		margin-left: 10px;
		margin-right: 10px;
	}
</style>